#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QSqlDatabase>
#include <QLabel>
#include "form.h"
#include "food_list.h"
#include "food_list_2.h"
#include "food_list_3.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    QSqlDatabase m_db;
    QLabel * m_status;
    Form * m_from;



signals:
    void starting(QTcpSocket * tcpSock);

private slots:
    void on_bt_1_clicked();

    void on_bt_2_clicked();

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
